/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.ufrgs.inf.prav.interop.resource;

/**
 *
 * @author Fernando Arena Varella
 * @version 1.0
 */
public enum ClientType {

    WEB, DIGITALTV, MOBILE;

        @Override
        public String toString(){
            switch (this){
                case DIGITALTV: return tvdValue;
                case MOBILE:    return mobileValue;
                case WEB:
                default:        return webValue;
            }
        }

        private static String tvdValue = "_tvd";
        private static String mobileValue = "_mobile";
        private static String webValue = "";
        public static void setMobileValue(String mobileValue) {
            ClientType.mobileValue = mobileValue;
        }
        public static void setTvdValue(String tvdValue) {
            ClientType.tvdValue = tvdValue;
        }
        public static void setWebValue(String webValue) {
            ClientType.webValue = webValue;
        }

}
